#ifndef STACKALLOCATOR_H
#define STACKALLOCATOR_H

namespace ssmt
{
	namespace allocator
	{
		class StackAllocator
		{
		public:
			StackAllocator(void* start, void* end);
			void* allocate(size_t size, size_t alignment, size_t offset);
			void deallocate(void* ptr);

		private:
			void* _clearPointer;
			void* _marker;
			size_t _used;
			size_t _total;
		};
	} //namespace allocator
} //namespace ssmt

#endif STACKALLOCATOR_H